package com.zk.atm.vo;

import java.util.Date;

/**
 * AtmpDeviceStatusCurrent entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class AtmpDeviceStatusCurrent extends BaseVo implements
		java.io.Serializable {
	// Fields
	private String device_status_id;
	private String device_id;
	private String device_name;
	private String devicetype;
	//设备名称,用于界面显示用
	private String devicetype_name;
	private String deviceip;
	private String networkcode;
	private String devicecode;
	private String servicestatus;
	//服务状态的中文字符,用于界面显示
	private String servicestatus_cn;
	private String magcardreader;
	private Long magcardreadercount;
	private String idcardreader;
	private String iccardreader;
	private String personcardreader;
	private String fingerprintreader;
	private String pinkeyboard;
	private String receiptprinter;
	private String journalprinter;
	private String singlepaperscanner;
	private Long singlepaperscannercount;
	private String multipaperscanner;
	private Long multipaperscannercount;
	private String generalscanner;
	private Long generalscannercount;
	private String generalprinter;
	private String generalprintertray1;
	private String generalprintertray2;
	private String generalprintertray3;
	private String generalprintertray4;
	private String stamper;
	private Long stampercount;
	private String upfrontdoorstatus;
	private String downfrontdoorstatus;
	private String backdoorstatus;
	private Date time_mark;
	private String minutes_from_time_mark_to_now;
	private String standby_column1;
	private String standby_column2;
	private String standby_column3;
	private String standby_column4;
	private String standby_column5;
	private String standby_column6;
	private String standby_column7;
	private String standby_column8;
	private String belong_org_name;
	private String belong_org_code;

	public String getBelong_org_name() {
		return belong_org_name;
	}

	public void setBelong_org_name(String belong_org_name) {
		this.belong_org_name = belong_org_name;
	}

	public String getBelong_org_code() {
		return belong_org_code;
	}

	public void setBelong_org_code(String belong_org_code) {
		this.belong_org_code = belong_org_code;
	}

	public AtmpDeviceStatusCurrent(String device_status_id, String device_id,
			String device_name, String devicetype, String deviceip,
			String networkcode, String devicecode, String servicestatus,
			String magcardreader, Long magcardreadercount, String idcardreader,
			String iccardreader, String personcardreader,
			String fingerprintreader, String pinkeyboard,
			String receiptprinter, String journalprinter,
			String singlepaperscanner, Long singlepaperscannercount,
			String multipaperscanner, Long multipaperscannercount,
			String generalscanner, Long generalscannercount,
			String generalprinter, String generalprintertray1,
			String generalprintertray2, String generalprintertray3,
			String generalprintertray4, String stamper, Long stampercount,
			String upfrontdoorstatus, String downfrontdoorstatus,
			String backdoorstatus, Date time_mark,
			String minutes_from_time_mark_to_now, String standby_column1,
			String standby_column2, String standby_column3,
			String standby_column4, String standby_column5,
			String standby_column6, String standby_column7,
			String standby_column8,String servicestatus_cn) {
		super();
		this.device_status_id = device_status_id;
		this.device_id = device_id;
		this.device_name = device_name;
		this.devicetype = devicetype;
		this.deviceip = deviceip;
		this.networkcode = networkcode;
		this.devicecode = devicecode;
		this.servicestatus = servicestatus;
		this.magcardreader = magcardreader;
		this.magcardreadercount = magcardreadercount;
		this.idcardreader = idcardreader;
		this.iccardreader = iccardreader;
		this.personcardreader = personcardreader;
		this.fingerprintreader = fingerprintreader;
		this.pinkeyboard = pinkeyboard;
		this.receiptprinter = receiptprinter;
		this.journalprinter = journalprinter;
		this.singlepaperscanner = singlepaperscanner;
		this.singlepaperscannercount = singlepaperscannercount;
		this.multipaperscanner = multipaperscanner;
		this.multipaperscannercount = multipaperscannercount;
		this.generalscanner = generalscanner;
		this.generalscannercount = generalscannercount;
		this.generalprinter = generalprinter;
		this.generalprintertray1 = generalprintertray1;
		this.generalprintertray2 = generalprintertray2;
		this.generalprintertray3 = generalprintertray3;
		this.generalprintertray4 = generalprintertray4;
		this.stamper = stamper;
		this.stampercount = stampercount;
		this.upfrontdoorstatus = upfrontdoorstatus;
		this.downfrontdoorstatus = downfrontdoorstatus;
		this.backdoorstatus = backdoorstatus;
		this.time_mark = time_mark;
		this.minutes_from_time_mark_to_now = minutes_from_time_mark_to_now;
		this.standby_column1 = standby_column1;
		this.standby_column2 = standby_column2;
		this.standby_column3 = standby_column3;
		this.standby_column4 = standby_column4;
		this.standby_column5 = standby_column5;
		this.standby_column6 = standby_column6;
		this.standby_column7 = standby_column7;
		this.standby_column8 = standby_column8;
		this.servicestatus_cn=servicestatus_cn;
	}

	// Constructors

	/** default constructor */
	public AtmpDeviceStatusCurrent() {
	}

	/** full constructor */
	
	public String getDevice_status_id() {
		return device_status_id;
	}

	public void setDevice_status_id(String device_status_id) {
      this.device_status_id = device_status_id;
	}

	public String getDevice_id() {
		return device_id;
	}

	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}

	public String getDevice_name() {
		return device_name;
	}

	public void setDevice_name(String device_name) {
		this.device_name = device_name;
	}

	public String getDevicetype() {
		return devicetype;
	}

	public void setDevicetype(String devicetype) {
		this.devicetype = devicetype;
	}

	public String getDeviceip() {
		return deviceip;
	}

	public void setDeviceip(String deviceip) {
		this.deviceip = deviceip;
	}

	public String getNetworkcode() {
		return networkcode;
	}

	public void setNetworkcode(String networkcode) {
		this.networkcode = networkcode;
	}

	public String getDevicecode() {
		return devicecode;
	}

	public void setDevicecode(String devicecode) {
		this.devicecode = devicecode;
	}

	public String getServicestatus() {
		return servicestatus;
	}

	public void setServicestatus(String servicestatus) {
		this.servicestatus = servicestatus;
	}

	public String getMagcardreader() {
		return magcardreader;
	}

	public void setMagcardreader(String magcardreader) {
		this.magcardreader = magcardreader;
	}

	public Long getMagcardreadercount() {
		return magcardreadercount;
	}

	public void setMagcardreadercount(Long magcardreadercount) {
		this.magcardreadercount = magcardreadercount;
	}

	public String getIdcardreader() {
		return idcardreader;
	}

	public void setIdcardreader(String idcardreader) {
		this.idcardreader = idcardreader;
	}

	public String getIccardreader() {
		return iccardreader;
	}

	public void setIccardreader(String iccardreader) {
		this.iccardreader = iccardreader;
	}

	public String getPersoncardreader() {
		return personcardreader;
	}

	public void setPersoncardreader(String personcardreader) {
		this.personcardreader = personcardreader;
	}

	public String getFingerprintreader() {
		return fingerprintreader;
	}

	public void setFingerprintreader(String fingerprintreader) {
		this.fingerprintreader = fingerprintreader;
	}

	public String getPinkeyboard() {
		return pinkeyboard;
	}

	public void setPinkeyboard(String pinkeyboard) {
		this.pinkeyboard = pinkeyboard;
	}

	public String getReceiptprinter() {
		return receiptprinter;
	}

	public void setReceiptprinter(String receiptprinter) {
		this.receiptprinter = receiptprinter;
	}

	public String getJournalprinter() {
		return journalprinter;
	}

	public void setJournalprinter(String journalprinter) {
		this.journalprinter = journalprinter;
	}

	public String getSinglepaperscanner() {
		return singlepaperscanner;
	}

	public void setSinglepaperscanner(String singlepaperscanner) {
		this.singlepaperscanner = singlepaperscanner;
	}

	public Long getSinglepaperscannercount() {
		return singlepaperscannercount;
	}

	public void setSinglepaperscannercount(Long singlepaperscannercount) {
		this.singlepaperscannercount = singlepaperscannercount;
	}

	public String getMultipaperscanner() {
		return multipaperscanner;
	}

	public void setMultipaperscanner(String multipaperscanner) {
		this.multipaperscanner = multipaperscanner;
	}

	public Long getMultipaperscannercount() {
		return multipaperscannercount;
	}

	public void setMultipaperscannercount(Long multipaperscannercount) {
		this.multipaperscannercount = multipaperscannercount;
	}

	public String getGeneralscanner() {
		return generalscanner;
	}

	public void setGeneralscanner(String generalscanner) {
		this.generalscanner = generalscanner;
	}

	public Long getGeneralscannercount() {
		return generalscannercount;
	}

	public void setGeneralscannercount(Long generalscannercount) {
		this.generalscannercount = generalscannercount;
	}

	public String getGeneralprinter() {
		return generalprinter;
	}

	public void setGeneralprinter(String generalprinter) {
		this.generalprinter = generalprinter;
	}

	public String getGeneralprintertray1() {
		return generalprintertray1;
	}

	public void setGeneralprintertray1(String generalprintertray1) {
		this.generalprintertray1 = generalprintertray1;
	}

	public String getGeneralprintertray2() {
		return generalprintertray2;
	}

	public void setGeneralprintertray2(String generalprintertray2) {
		this.generalprintertray2 = generalprintertray2;
	}

	public String getGeneralprintertray3() {
		return generalprintertray3;
	}

	public void setGeneralprintertray3(String generalprintertray3) {
		this.generalprintertray3 = generalprintertray3;
	}

	public String getGeneralprintertray4() {
		return generalprintertray4;
	}

	public void setGeneralprintertray4(String generalprintertray4) {
		this.generalprintertray4 = generalprintertray4;
	}

	public String getStamper() {
		return stamper;
	}

	public void setStamper(String stamper) {
		this.stamper = stamper;
	}

	public Long getStampercount() {
		return stampercount;
	}

	public void setStampercount(Long stampercount) {
		this.stampercount = stampercount;
	}

	public String getUpfrontdoorstatus() {
		return upfrontdoorstatus;
	}

	public void setUpfrontdoorstatus(String upfrontdoorstatus) {
		this.upfrontdoorstatus = upfrontdoorstatus;
	}

	public String getDownfrontdoorstatus() {
		return downfrontdoorstatus;
	}

	public void setDownfrontdoorstatus(String downfrontdoorstatus) {
		this.downfrontdoorstatus = downfrontdoorstatus;
	}

	public String getBackdoorstatus() {
		return backdoorstatus;
	}

	public void setBackdoorstatus(String backdoorstatus) {
		this.backdoorstatus = backdoorstatus;
	}

	public Date getTime_mark() {
		return time_mark;
	}

	public void setTime_mark(Date time_mark) {
		this.time_mark = time_mark;
	}
	public String getMinutes_from_time_mark_to_now() {
		return minutes_from_time_mark_to_now;
	}

	public void setMinutes_from_time_mark_to_now(
			String minutes_from_time_mark_to_now) {
		this.minutes_from_time_mark_to_now = minutes_from_time_mark_to_now;
	}

	public String getStandby_column1() {
		return standby_column1;
	}

	public void setStandby_column1(String standby_column1) {
		this.standby_column1 = standby_column1;
	}

	public String getStandby_column2() {
		return standby_column2;
	}

	public void setStandby_column2(String standby_column2) {
		this.standby_column2 = standby_column2;
	}

	public String getStandby_column3() {
		return standby_column3;
	}

	public void setStandby_column3(String standby_column3) {
		this.standby_column3 = standby_column3;
	}

	public String getStandby_column4() {
		return standby_column4;
	}

	public void setStandby_column4(String standby_column4) {
		this.standby_column4 = standby_column4;
	}

	public String getStandby_column5() {
		return standby_column5;
	}

	public void setStandby_column5(String standby_column5) {
		this.standby_column5 = standby_column5;
	}

	public String getStandby_column6() {
		return standby_column6;
	}

	public void setStandby_column6(String standby_column6) {
		this.standby_column6 = standby_column6;
	}

	public String getStandby_column7() {
		return standby_column7;
	}

	public void setStandby_column7(String standby_column7) {
		this.standby_column7 = standby_column7;
	}

	public String getStandby_column8() {
		return standby_column8;
	}

	public void setStandby_column8(String standby_column8) {
		this.standby_column8 = standby_column8;
	}
	// Property accessors
	public String toString(){
		return "[device_status_id ="+ device_status_id
				+",device_id ="+ device_id
				+",device_name ="+ device_name
				+",devicetype ="+ devicetype
				+",deviceip ="+ deviceip
				+",networkcode ="+ networkcode
				+",devicecode ="+ devicecode
				+",servicestatus ="+ servicestatus
				+",magcardreader ="+ magcardreader
				+",magcardreadercount ="+ magcardreadercount
				+",idcardreader ="+ idcardreader
				+",iccardreader ="+ iccardreader
				+",personcardreader ="+ personcardreader
				+",fingerprintreader ="+ fingerprintreader
				+",pinkeyboard ="+ pinkeyboard
				+",receiptprinter ="+ receiptprinter
				+",journalprinter ="+ journalprinter
				+",singlepaperscanner ="+ singlepaperscanner
				+",singlepaperscannercount ="+ singlepaperscannercount
				+",multipaperscanner ="+ multipaperscanner
				+",multipaperscannercount ="+ multipaperscannercount
				+",generalscanner ="+ generalscanner
				+",generalscannercount ="+ generalscannercount
				+",generalprinter ="+ generalprinter
				+",generalprintertray1 ="+ generalprintertray1
				+",generalprintertray2 ="+ generalprintertray2
				+",generalprintertray3 ="+ generalprintertray3
				+",generalprintertray4 ="+ generalprintertray4
				+",stamper ="+ stamper
				+",stampercount ="+ stampercount
				+",upfrontdoorstatus ="+ upfrontdoorstatus
				+",downfrontdoorstatus ="+ downfrontdoorstatus
				+",backdoorstatus ="+ backdoorstatus
				+",time_mark ="+ getTimeMarkValue(time_mark)
				+",minutes_from_time_mark_to_now ="+ minutes_from_time_mark_to_now
				+",standby_column1 ="+ standby_column1
				+",standby_column2 ="+ standby_column2
				+",standby_column3 ="+ standby_column3
				+",standby_column4 ="+ standby_column4
				+",standby_column5 ="+ standby_column5
				+",standby_column6 ="+ standby_column6
				+",standby_column7 ="+ standby_column7
				+",standby_column8 ="+ standby_column8+"]";
	}
	
	public String getTimeMarkValue(Date d){
		if(d==null){
			return "";
		}else{
			return d.toLocaleString();
		}
	}

	public String getServicestatus_cn() {
		return servicestatus_cn;
	}

	public void setServicestatus_cn(String servicestatus_cn) {
		this.servicestatus_cn = servicestatus_cn;
	}

	public String getDevicetype_name() {
		return devicetype_name;
	}

	public void setDevicetype_name(String devicetype_name) {
		this.devicetype_name = devicetype_name;
	}
}